
<script>
  import $ from 'dfish-widget'
  import Widget from '../Widget.vue'

  export default {
    mixins: [Widget],
    data() {
      return {
        name: 'Function',
        remark: '函数命令。',
        hasCommon: false,
        isW: false,
        isFunction: true,
        attrs: [{
          name: 'data',
          remark: '从 widget.cmd() 方法接受的数据',
          type: 'Array',
        },{
          name: 'widget',
          remark: '调用当前函数的对象',
          type: 'Object',
        },]
      }
    }
  }
</script>
